package com.quanyan.operative.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.operative.model.req.ReqUserHitEgg;
import com.quanyan.operative.model.req.ReqUserReward;
import com.quanyan.operative.model.resp.RespUserHitEggInfo;

import java.util.List;

/**
 * 双蛋节活动
 * <p>
 * Created by huadongyang on 2016/12/6.
 */
public interface DoubleEggFestivalService {
    /**
     * 获取兑奖活动列表
     *
     * @return
     */
    APIResponse getPrizeAndActivityList(Integer uid);

    /**
     * 帮助好友砸蛋
     *
     * @param reqUserHitEgg
     */
    APIResponse helpFriendHitEgg(ReqUserHitEgg reqUserHitEgg);

    /**
     * 获取好友砸蛋列表
     *
     * @param uid      用户id
     * @return
     */
    APIResponse<PageObj<List<RespUserHitEggInfo>>> getUserHitEggList(Integer uid, Integer activityId);

    /**
     * 用户兑奖
     *
     * @param reqUserReward
     * @return
     */
    APIResponse userReward(ReqUserReward reqUserReward);

    /**
     *
     * @param uid   用户ID
     * @param activityId  活动id
     * @return
     */
    APIResponse getUserEggshellNum(Integer uid, Integer activityId);

}
